﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace Acorn.WinForm
{
    public partial class FrmLogin : Form
    {
        public FrmLogin()
        {
            InitializeComponent();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            this.Close();
            //DialogResult = DialogResult.Cancel;
            //Application.Exit();
        }

        private void btnLogin_Click(object sender, EventArgs e)
        {

            this.Hide();

            FrmMain f = new FrmMain();

            f.Show();

            //FrmHotelMain fhm = new FrmHotelMain(dr[0].ToString(), dr[2].ToString());
            //fhm.Show();
           
            //this.Close();

            //DialogResult = DialogResult.OK;
        }
    }
}
